package com.lysb.modules.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * 响应信息主体
 * @author
 */
@AllArgsConstructor
@Data
public class ConfirmUserData {
	private String code;
	private String message;

	public static ConfirmUserData ok() {
		return new ConfirmUserData("1", "请求成功");
	}

	public static ConfirmUserData failed(String code, String msg) {
		return new ConfirmUserData(code, msg);
	}
}